package com.sc.VenusQueryBeta.adapter.account.zhuanma;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.sc.VenusQueryBeta.R;
import com.sc.VenusQueryBeta.adapter.BaseCompatAdapter;
import com.sc.VenusQueryBeta.model.bean.account.zhuanma.ZhuanMaList1;


import java.util.List;

/**
 * 賬戶信息適配器
 */

public class Zhuanma01Adapter extends BaseCompatAdapter<ZhuanMaList1.SunList,BaseViewHolder> {
    public Zhuanma01Adapter(int layoutResId, @Nullable List<ZhuanMaList1.SunList> data) {
        super(layoutResId, data);
    }

    public Zhuanma01Adapter(int item_zhuanma01) {
        super(item_zhuanma01);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZhuanMaList1.SunList item) {
        helper.setText(R.id.tv_jituan,item.getRoomname());//集團名稱
        helper.setText(R.id.tv_jituan_money,item.getChipsnum());//金額

    }

}
